package com.hu.common.pojo.dto;

import com.hu.common.pojo.Menu;
import lombok.Data;

import java.util.List;

/**
 * 接收前端登录请求时发送的数据
 * 和实体类进行区分
 */
@Data
public class UserDTO {
    private Integer id;
    private String username;
    private String password;
    private String nickname;
    private String avatarUrl;
    private String token;
    private String phone;
    private String address;
    private String role;
    private String motto;
    private String blogBg;
    private List<Menu> menus;
}
